package com.winning.yanghao.designpattern.factory.abstr;

import com.winning.yanghao.designpattern.factory.AppleComputer;
import com.winning.yanghao.designpattern.factory.Computer;
import com.winning.yanghao.designpattern.factory.DellComputer;
import com.winning.yanghao.designpattern.factory.LenovoComputer;

public class ComputerFactory extends AbstractComputerFactory {
    @Override
    Computer getDellComputer() {
        return new DellComputer();
    }

    @Override
    Computer getAppleComputer() {
        return new AppleComputer();
    }

    @Override
    Computer getLenovoComputer() {
        return new LenovoComputer();
    }
}
